package com.xin.springbootjurisdiction.service;

import com.xin.springbootjurisdiction.dataobject.AdminInfo;

/**
 * 用户Service
 */
public interface AdminInfoService {
    //添加用户
    AdminInfo create(AdminInfo adminInfo);
    //删除用户
    boolean delete(String adminId);
    //查找用户
    AdminInfo findOne(String adminId);
    //更新用户
    AdminInfo update(AdminInfo adminInfo);
}
